<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Detail: guild_service::common::coro_runner Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Detail
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>guild_service</b></li><li class="navelem"><b>common</b></li><li class="navelem"><a class="el" href="classguild__service_1_1common_1_1coro__runner.html">coro_runner</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classguild__service_1_1common_1_1coro__runner-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">guild_service::common::coro_runner Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:abe64378f6c4b9379fe916c62d576900d"><td class="memItemLeft" align="right" valign="top"><a id="abe64378f6c4b9379fe916c62d576900d"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>coro_type</b> = kratos::service::CoroRunner</td></tr>
<tr class="separator:abe64378f6c4b9379fe916c62d576900d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4af138fb0bb42794d0c2bd216bed6c04"><td class="memItemLeft" align="right" valign="top"><a id="a4af138fb0bb42794d0c2bd216bed6c04"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>coro_ptr_type</b> = std::unique_ptr&lt; kratos::service::CoroRunner &gt;</td></tr>
<tr class="separator:a4af138fb0bb42794d0c2bd216bed6c04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9733376e42c047eda285fd9697d302c"><td class="memItemLeft" align="right" valign="top"><a id="ac9733376e42c047eda285fd9697d302c"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>coro_function_type</b> = kratos::service::CoFunction</td></tr>
<tr class="separator:ac9733376e42c047eda285fd9697d302c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56252cb5cc44d6ec1066d5c1b32c4bbf"><td class="memItemLeft" align="right" valign="top"><a id="a56252cb5cc44d6ec1066d5c1b32c4bbf"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>coro_id_type</b> = kratos::service::COID</td></tr>
<tr class="separator:a56252cb5cc44d6ec1066d5c1b32c4bbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aac46eed8a447bbda3d58bf6e8d880f04"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1common_1_1coro__runner.html#aac46eed8a447bbda3d58bf6e8d880f04">start</a> (kratos::service::ServiceContext *context)</td></tr>
<tr class="separator:aac46eed8a447bbda3d58bf6e8d880f04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a037ca928a4e5b397d062196b047da457"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1common_1_1coro__runner.html#a037ca928a4e5b397d062196b047da457">stop</a> ()</td></tr>
<tr class="separator:a037ca928a4e5b397d062196b047da457"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f0d72079f881d6cfd504b2e9d06f439"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1common_1_1coro__runner.html#a3f0d72079f881d6cfd504b2e9d06f439">started</a> () const</td></tr>
<tr class="separator:a3f0d72079f881d6cfd504b2e9d06f439"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85f25a75a0b6b8bb3519c23af4a749a7"><td class="memItemLeft" align="right" valign="top">coro_id_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1common_1_1coro__runner.html#a85f25a75a0b6b8bb3519c23af4a749a7">start_co</a> (coro_function_type func)</td></tr>
<tr class="separator:a85f25a75a0b6b8bb3519c23af4a749a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3adae777f8ab25a913910dca0f1e7d72"><td class="memItemLeft" align="right" valign="top"><a id="a3adae777f8ab25a913910dca0f1e7d72"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>run</b> ()</td></tr>
<tr class="separator:a3adae777f8ab25a913910dca0f1e7d72"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aac46eed8a447bbda3d58bf6e8d880f04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac46eed8a447bbda3d58bf6e8d880f04">&#9670;&nbsp;</a></span>start()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::common::coro_runner::start </td>
          <td>(</td>
          <td class="paramtype">kratos::service::ServiceContext *&#160;</td>
          <td class="paramname"><em>context</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="a85f25a75a0b6b8bb3519c23af4a749a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85f25a75a0b6b8bb3519c23af4a749a7">&#9670;&nbsp;</a></span>start_co()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">coro_id_type guild_service::common::coro_runner::start_co </td>
          <td>(</td>
          <td class="paramtype">coro_function_type&#160;</td>
          <td class="paramname"><em>func</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">func</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>coro_id_type </dd></dl>

</div>
</div>
<a id="a3f0d72079f881d6cfd504b2e9d06f439"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f0d72079f881d6cfd504b2e9d06f439">&#9670;&nbsp;</a></span>started()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::common::coro_runner::started </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="a037ca928a4e5b397d062196b047da457"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a037ca928a4e5b397d062196b047da457">&#9670;&nbsp;</a></span>stop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::common::coro_runner::stop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>coroutine/<a class="el" href="coro__runner_8hpp_source.html">coro_runner.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
